package com.sean.velocity;

import java.io.IOException;
import java.io.Writer;

import org.apache.velocity.context.InternalContextAdapter;
import org.apache.velocity.exception.MethodInvocationException;
import org.apache.velocity.exception.ParseErrorException;
import org.apache.velocity.exception.ResourceNotFoundException;
import org.apache.velocity.runtime.directive.Directive;
import org.apache.velocity.runtime.parser.node.Node;

public class TimeFormatDirective extends Directive {

    @Override
    public String getName() {
	return "gmtfor";
    }

    @Override
    public int getType() {
	return Directive.LINE;
    }

    @Override
    public boolean render(InternalContextAdapter context, Writer writer,
	    Node node) throws IOException, ResourceNotFoundException,
	    ParseErrorException, MethodInvocationException {
	// TODO Auto-generated method stub
	return false;
    }

}
